//跨域代理前缀
// const API_PROXY_PREFIX=`/api`
// const BASE_URL = process.env.NODE_ENV === `production` ? process.env.VUE_APP_API_BASE_URL : API_PROXY_PREFIX
const BASE_URL = process.env.VUE_APP_API_BASE_URL
const VUE_APP_FILE_BASE_URL = process.env.VUE_APP_FILE_BASE_URL
module.exports = {

    //分页查询接口日志列表
    queryApiLogList: `${BASE_URL}/ApiLogInfo/queryApiLogList`,
    //单个查询接口日志
    queryApiLogDetail: `${BASE_URL}/ApiLogInfo/queryApiLogDetail`,
    //接口管理相关字典
    interfaceExtraDic: `${BASE_URL}/baseInfo/interfaceExtraDic`,


    //查询应用列表分页
    applicationQueryList: `${BASE_URL}/application/query/list`,
    //清除应用缓存
    applicationClearCache: `${BASE_URL}/api/common/clear/cache/allBiz`,
    //根据应用ID获取详情
    applicationQueryDetail: `${BASE_URL}/application/query/detail`,
    //新增应用信息
    applicationAdd: `${BASE_URL}/application/add`,
    //修改应用信息
    applicationEdit: `${BASE_URL}/application/edit`,
    //修改应删除应用信息用信息
    applicationDel: `${BASE_URL}/application/del`,

    //应用环境管理
    //分页查询
    appEnvQueryList: `${BASE_URL}/app/env/query/list`,
    //分页查询
    envListExtra: `${BASE_URL}/baseInfo/envListExtra`,
    //清除缓存
    appEnvClearCache: `${BASE_URL}/api/common/clear/cache/allBiz`,
    //查询详情
    appEnvQueryDetail: `${BASE_URL}/app/env/query/detail`,
    //新增
    appEnvAdd: `${BASE_URL}/app/env/add`,
    //修改应用信息
    appEnvEdit: `${BASE_URL}/app/env/edit`,
    //修改应删除应用信息用信息
    appEnvDel: `${BASE_URL}/app/env/del`,


    //注册接口管理
    //分页查询
    apiProduceQueryList: `${BASE_URL}/api/produce/query/list`,
    //分页查询
    producerListExtra: `${BASE_URL}/baseInfo/producerListExtra`,
    //查询接口详情
    apiProduceQueryDetail: `${BASE_URL}/api/produce/query/detail`,
    //新增接口
    apiProduceAdd: `${BASE_URL}/api/produce/add`,
    //修改接口信息
    apiProduceEdit: `${BASE_URL}/api/produce/edit`,
    //删除接口信息
    apiProduceDel: `${BASE_URL}/api/produce/del`,

    //接口申请
    //分页查询
    apiConsumerQueryList: `${BASE_URL}/baseInfo/consumer/query/list`,
    //查询接口申请详情
    apiConsumerQueryDetail: `${BASE_URL}/baseInfo/consumer/query/detail`,
    //新增接口申请
    apiConsumerAdd: `${BASE_URL}/baseInfo/consumer/add`,
    //修改接口申请
    apiConsumerEdit: `${BASE_URL}/baseInfo/consumer/edit`,
    //删除接口申请
    apiConsumerDel: `${BASE_URL}/baseInfo/consumer/del`,
    //接口测试
    apiConsumerTest: `${BASE_URL}/apiCommon/consumer/test`,
    //申请列表
    consumerQueryApplyList: `${BASE_URL}/baseInfo/consumer/query/apply/list`,
    busiConsumerQueryListByAppId: `${BASE_URL}/baseInfo/busiConsumer/query/listByAppId`,

    //分页查询
    getBusiApiConsumerList: `${BASE_URL}/baseInfo/busiConsumer/query/list`,
    //新增接口申请
    saveOrUpdateBusiApiConsumer: `${BASE_URL}/baseInfo/busiConsumer/saveOrUpdate`,
    //删除接口申请
    removeBusiApiConsumerById: `${BASE_URL}/baseInfo/busiConsumer/del`,
    //接口申请审核
    auditInterfaceConsumer: `${BASE_URL}/applyInfo/consumer/audit`,
    //分类参数管理
    //新增分类
    apiFolderAdd: `${BASE_URL}/api/folder/add`,
    //清除分类缓存
    apiFolderClearCache: `${BASE_URL}/api/folder/clear/cache`,
    //删除分类
    apiFolderDel: `${BASE_URL}/baseInfo/folder/del`,
    //修改分类
    apiFolderEdit: `${BASE_URL}/api/folder/edit`,
    //移动分类树位置
    apiFolderEditMove: `${BASE_URL}/api/folder/edit/move`,
    //获取分类详情
    apiFolderQueryDetail: `${BASE_URL}/api/folder/query/detail`,
    //获取分类树
    apiFolderQueryTreeList: `${BASE_URL}/api/folder/query/tree/list`,

}
